Skip to content

Test Result : ValueField validation: initialValue, touched, empty and mandatory

0 failures
5 tests
Took 46 ms.

All Tests

Test nameDurationStatus
ValueField validation: initialValue, touched, empty and mandatory sets empty to true when value is an empty string (for StringField)10 msPassed
ValueField validation: initialValue, touched, empty and mandatory sets initialValue when markAsSaved is called9 msPassed
ValueField validation: initialValue, touched, empty and mandatory sets touched to true when value is different from initial value9 msPassed
ValueField validation: initialValue, touched, empty and mandatory validate returns not valid when errorStatus is set or field is mandatory and empty9 msPassed
ValueField validation: initialValue, touched, empty and mandatory validate returns valid when errorStatus is not set and field is not mandatory9 msPassed